package com.woniu.payback_font.mapper;


import io.swagger.annotations.Api;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;

@Api(value = "还款计划mapper接口")
@Repository
public interface RepaymentPlanMapper {
    /**
     * 根据账号查询还款章台为0:未还款的所有本金
     * @param uid
     * @return
     */
    BigDecimal selectAllCapatal(String uid);

    /**
     * 根据账号查询还款章台为0:未还款的所有利息
     * @param uid
     * @return
     */
    BigDecimal selectAllInterest(String uid);
}
